package com.taotao.web.thread;

import com.taotao.web.vo.User;

public class UserThreadLocal {
	
	public static final ThreadLocal<User> THREAD_LOCAL = new ThreadLocal();

	public static void set(User user){
		THREAD_LOCAL.set(user);
	}
	
	public static User get(){
		return THREAD_LOCAL.get();
	}
	
	public static void remove(){
		THREAD_LOCAL.remove();
	}
}
